<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
<div id="root">
    <input @keydown.13="fn" placeholder="13" type="text">
    <input @keydown.enter="fn" placeholder="enter" type="text">
    <input @keydown.65="fn" placeholder="65" type="text">
    <input @keydown.a="fn" placeholder="a" type="text">
    <input @keydown.ctrl="fn" placeholder="ctrl" type="text">
    <input @keydown.ctrl.c="fn" placeholder="ctrl+c" type="text">
    <input @keydown.left="fn" placeholder="left" type="text">
</div>
</body>
<script>
	new Vue({
		el: "#root",
        methods:{
			fn(e){
				console.log(e.keyCode)

            }
        }
	})
</script>
</html>